import { createRouter, createWebHistory } from 'vue-router';
import add from '@/views/AddPage.vue';
import userPage from "@/views/UserPage.vue";
import JumpPage from "@/views/JumpPage.vue";
const routes = [
  {
    path: '/add',
    name: 'AddPage',
    component: add,
  },
  {
    path: '/user',
    name: 'userPage',
    component: userPage,
  },
  {
  path:'/jump',
    name: 'JumpPage',
    component: JumpPage,
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
